local projectName
--region tarray
projectName = "tarray"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tclass
projectName = "tclass"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tconstant
projectName = "tconstant"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tdirective
projectName = "tdirective"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".cpp"
    -- projectName .. "_wrap.cpp"
    -- projectName .. "pkg_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tenum
projectName = "tenum"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tfunction
projectName = "tfunction"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tinheritance
projectName = "tinheritance"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tmodule
projectName = "tmodule"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tnamespace
projectName = "tnamespace"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tpeer
projectName = "tpeer"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tvararg
projectName = "tvararg"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion

--region tvariable
projectName = "tvariable"
project("learn." .. projectName)
kind("ConsoleApp")
language("C++")
cppdialect("C++17")
staticruntime "on"

targetdir(binDir)
objdir(objDir)

files {
    projectName .. ".h",
    projectName .. ".cpp",
    projectName .. "_wrap.cpp"
}

includedirs {
    "%{includeDir.lua}",
    "%{includeDir.tolua}"
}

links {"lua", "tolua"}
--endregion
